package com.betterjr.modules.risk.loan.dubbo;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.betterjr.common.web.AjaxObject;
import com.betterjr.modules.risk.loan.ILoanCustCodeRelationService;
import com.betterjr.modules.risk.loan.service.LoanCustCodeRelationService;

@Service(interfaceClass = ILoanCustCodeRelationService.class)
public class LoanCustCodeRelationDubboService implements ILoanCustCodeRelationService {

    @Autowired
    private LoanCustCodeRelationService custCodeRelationService;

    @Override
    public String webQueryCustList(Long anCoreNo, String custCode, String exculeCustNos) {

        return AjaxObject.newOk(custCodeRelationService.queryAllCustList(anCoreNo, custCode, exculeCustNos)).toJson();
    }

}
